From: Guillaume Subiron Date: Tue, 29 May 2012 15:22:46 +0000 (+0200) Subject: Debug X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations.php?a=commitdiff_plain;h=92f3176d2fca9034c05c8efd145c0cd0e7b81928;p=cavote.git Debug --- diff --git a/main.py b/main.py index ac71277..298c721 100755 --- a/main.py +++ b/main.py @@ -214,7 +214,7 @@ def del_role(idrole): def show_votes(votes): today = date.today() active_button = votes - basequery = 'select *, roles.name as rolename from votes join roles on roles.id=votes.id_role where open=1' + basequery = 'select *, roles.name as rolename from votes join roles on roles.id=votes.id_role where is_open=1' if votes == 'all': votes = query_db(basequery + ' order by id desc') elif votes == 'archive':